<?php echo $html->script("lib/jquery.datepicker.min.js");?>
<?php echo $html->script("lib/jquery.filestyle.js");?>
<?php echo $html->css("screen/jquery.datepicker.css");?>
<?php echo $html->css("screen/stocklist.css");?>
<script type="text/javascript">
$(document).ready(function(){
try{
	$(".datepicker" ).datepicker({
		"dateFormat": "yy-mm-dd",		
		onClose: function(dateText, inst) {
			if ($('#PressFirstOffDateMonth').val()!='')$('#datechose_overlay2').hide();
			if ($('#AvailableFromDate').val()!='')$('#datechose_overlay1').hide();
		}
	});
	$('.jqTransform').jqTransform({width:100});
	$('#PressDeleteForm').submit(function(){
		
		return confirm('do you want to delete this press ?');
	});
}catch(e){
	alert(e);
}
});
</script>
<?php echo $this->element('menu', array("active" => "3.a"));?>
<ul class="breadcrumb">
        <li>
          <?php echo $this->Html->link(__('Press  ', true), array('action' => 'index'), array('class'=>'fist_link'));?>
        </li>
        <li>
          <a href="#" >Edit Status Press  </a>
        </li>
        <li>
          <a href="#" ><?php echo $this->data['Press']['name']?></a>
        </li>
</ul>	
<div id="content">
	<div class="stocklist_form">
	<div class="flash_message">
		<h2><?php echo $session->read('Message.flash.message')?></h2>
	</div>
	<?php echo $form->create('Press',array('action' => 'delete'));?>
		<div class="input text">
			<label for="PressId" style="float:left"><?php echo __('Press id',true) ?></label><input id="PressId" type="text" name="PressId" />
		</div>
		<?php echo $form->button('Save',array('class'=>'bt','style'=>'margin-left:100px;margin-top:10px;')); ?>
		<?php echo $form->end();?>
	</div>
</div>